package com.common.utils.CommonException;

import lombok.Getter;

@Getter
public enum ExceptionCodeEnum {

    SERVER_ERROR(500,"服务器内部错误"),
    UNKNOWN_ERROR(-1,"未知错误"),
    CLIENT_ERROR(400,"客户端错误");

    ExceptionCodeEnum( Integer code , String message ){
        this.code = code;
        this.message = message;
    }

    private Integer code;
    private String message;

}
